<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <title>Facelet Title</title>
        <link type="text/css" rel="stylesheet" href="css/estilo.css" />
    </h:head>
    <h:body>
        Hello from Facelets
        <h:link outcome="welcomePrimefaces" value="Primefaces welcome page" />
        <br />
        <h:form>  
            <p:panel header="Testando JSF + PrimeFace + Maven" footer="Footer PrimeFace"
                     toggleable="true" toggleOrientation="vertical">
                <p:inputText value="#{helloController.mensagem}" id="txtMensagem"/>
                <br />
                <p:commandButton  value="Enviar" update="lblMsg"/><br />
                <h:outputLabel id="lblMsg">#{helloController.mensagem}</h:outputLabel><br/>
            </p:panel>
            <h:commandLink value="Dashboard" action="#{helloController.openDashboard}" />
        </h:form>
        <br />
        
    </h:body>
</html>

